package com.jf.identity.aop;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface AtomikosTransaction {

    @AliasFor("transactionManager")
    String value() default "";

    @AliasFor("value")
    String transactionManager() default "";

    Class<? extends Throwable>[] rollbackFor() default {};

    String[] noRollbackForClassName() default {};
}

